package pl.softech.gpw.candles.editor.action;

import java.awt.Point;

import pl.softech.gpw.candles.editor.CandlestickWidget;

public class CWidgetMoveEvent {

    private final Point[] disp;
    private final CandlestickWidget widget;

    public CWidgetMoveEvent(Point[] dispVector, CandlestickWidget widget) {
        this.disp = dispVector;
        this.widget = widget;
    }

    public Point[] getDisp() {
        return disp;
    }

    public CandlestickWidget getWidget() {
        return widget;
    }

}
